﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Distributor_Maintain" CodeFile="Distributor_Maintain.aspx.cs" MasterPageFile="~/MasterPage.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>客户信息</title> 
     
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
       
         
            <table id="wsd_inputtable"   >
                <tr >
                    <td colspan="4" class="tabletitle">
                        <font color="red" size="2"><b><asp:Literal
                            ID="Literal4" runat="server" Text="<%$resources:language,lbl_Required %>"></asp:Literal>
                    </td>
                </tr>     
                <tr>
                    <td class="tablefield" style="width: 15%">
                        <span class="keyword">*</span> 经销商代码
                    </td>
                    <td style="width: 35%">
                        <asp:TextBox runat="server"  MaxLength="40" Width="150"
                            ID="txtCode" class="default"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtCode"
                              runat="server" ErrorMessage="<%$resources:language,lbl_TheRequired %>" 
                            Display="Dynamic"></asp:RequiredFieldValidator>
                    </td>
                    <td class="tablefield" style="width: 15%;">
                        <span class="keyword">*</span> 公司名称
                    </td>
                    <td nowrap="nowrap" style="width: 35%">
                        <asp:TextBox runat="server"  ID="txtName" MaxLength="100"
                            Width="150" class="default"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtName"
                              runat="server" ErrorMessage="<%$resources:language,lbl_TheRequired %>" 
                            Display="Dynamic"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="tablefield">
                        <span class="keyword">*</span>部门
                    </td>
                    <td nowrap="nowrap" >
                        <asp:TextBox ID="txtOrg_Edit" runat="server" Width="150" onkeydown="alert('请选择部门');return false;"
                          class="default"  ></asp:TextBox>
                        <img src="../Resources/Images/search.png" alt="查找" style="cursor: pointer;" onclick="openPopup('../System/PopupOrganization.aspx?NameControlId=<%=txtOrg_Edit.ClientID %>&ValueControlId=<%= Hidden1.ClientID %>&SelectType=single','','300','500');" /><asp:RequiredFieldValidator 
                            ID="RequiredFieldValidator5" runat="server" ErrorMessage="请选择部门!"
                        ControlToValidate="txtOrg_Edit" Display="Dynamic"></asp:RequiredFieldValidator>
                   
                    </td>
                    <td nowrap="nowrap" class="tablefield">
                        <span class="keyword">*</span>公司地址</td>
                    <td nowrap="nowrap" >
                        <asp:TextBox runat="server" ID="txtAddress" MaxLength="100"
                            Width="150" class="default"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtAddress"
                             ErrorMessage="<%$resources:language,lbl_TheRequired %>" Display="Dynamic"></asp:RequiredFieldValidator>
                   
                    </td>
                </tr>
                <tr>
                    <td class="tablefield">
                        <span class="keyword">*</span> 联系人
                    </td>
                    <td nowrap="nowrap">
                        <asp:TextBox runat="server" Width="150" ID="txtContactMan" MaxLength="20" class="default"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtContactMan"
                              ErrorMessage="联系人不能为空!" Display="Dynamic"></asp:RequiredFieldValidator>
                    </td>
                    <td class="tablefield" style="width: 15%">
                        &nbsp;联系人电话
                    </td>
                    <td nowrap="nowrap">
                        <asp:TextBox runat="server" Width="150" ID="txtPhone" MaxLength="15" class="default"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tablefield">
                        有效 </td>
                    <td nowrap="nowrap">
                        <asp:CheckBox runat="server" ID="chxValid" Checked="true" />
                        
                    </td>
                    <td class="tablefield">
                        &nbsp;</td>
                    <td nowrap="nowrap">
                        &nbsp;</td>
                </tr>     
            </table>
        <table id="wsd_inputtable">
            <tr>
                <td width="100%" class="tabletitle">
                    <asp:Literal ID="Literal1" runat="server" Text="<%$resources:language,lbl_Operation_Area %>"></asp:Literal>
                </td>
            </tr>
            <tr>
                <td class="buttonarea">
                        <asp:Button ID="btnSubmit" runat="server"  Text="提 交" CssClass="wsd_button2" OnClick="btnSubmit_Click" />&nbsp;&nbsp;
                           <input class="wsd_button2" onclick="window.history.go(-1);" type="button"
                    value="返  回" />
                </td>
            </tr>
        </table>
         
        </div> 
    
     <input id="txtHidOrg" type="hidden" runat="server" />
                      <input id="Hidden1" type="hidden" runat="server" />
                       <input type="hidden" id="Status" runat="server" />
</asp:Content>
